SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}Fensdorf{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}' OR prCity = 'Fensdorf' OR prZip = 'Fensdorf' OR prStreet LIKE '{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}Fensdorf{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}' OR prCountry = 'Fensdorf') AND (prLocation LIKE '{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}Germany{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}Germany{1aafc67d32acd4fe5f399ccbeb38cd953ffc7fcb43faf49770e53f9ce62ad9d5}' OR prCountry = 'Germany')